﻿namespace Magic.System;

public interface IAuthService
{
    /// <summary>
    /// 登录
    /// </summary>
    /// <param name="input"></param>
    /// <returns></returns>
    Task<LoginOutput> Login(LoginInput input);
    /// <summary>
    /// 获取登录用户信息
    /// </summary>
    /// <returns></returns>
    Task<LoginUserInfoOutput> GetLoginUserInfo();
    /// <summary>
    /// 退出登录
    /// </summary>
    /// <returns></returns>
    Task Logout();
}
